﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Core.DataAccess.Model.Projects
{

    /// <summary>
    /// 项目列表
    /// </summary>
    public partial class ProjectList
    {
        public int Id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserKey { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 项目描述
        /// </summary>
        public string Info { get; set; }

        /// <summary>
        /// 该项目绑定的服务地址 [域名]
        /// </summary>
        public string ServicePath { get; set; }

        /// <summary>
        /// 项目Token
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? AddTime { get; set; }


        /// <summary>
        /// 支付宝配置
        /// </summary>
        [NotMapped]
        public ProjectAliPay AliPayInfo { get; set; }

        /// <summary>
        /// 微信支付配置
        /// </summary>
        [NotMapped]
        public ProjectWChatPay WChatPayInfo { get; set; }
    }
}
